home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / prtvtoc.z / prtvtoc
Encoding:
Text File  |  1998-10-20  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. pppprrrrttttvvvvttttoooocccc((((1111MMMM))))                                                        pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      prtvtoc - print disk volume header information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////eeeettttcccc////pppprrrrttttvvvvttttoooocccc [[----aaaaeeeeffffhhhhmmmmssss] [----tttt _f_s_t_a_b]] [_r_a_w_d_i_s_k_n_a_m_e]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _p_r_t_v_t_o_c prints a summary of the information in the volume header for a
  16.      single disk or all of the local disks attached to a system (see _vvvv_hhhh(7M)).
  17.      The command is usually used only by the superuser.
  18.  
  19.      The _r_a_w_d_i_s_k_n_a_m_e name should be the raw device filename of a disk volume
  20.      header in the form /_d_e_v/_r_d_s_k/_d_k_s?_d?_v_h.
  21.  
  22.      Note:  _p_r_t_v_t_o_c knows about the special file directory naming conventions,
  23.      so the /_d_e_v/_r_d_s_k prefix can be omitted.
  24.  
  25.      If no name is given, the information for the root disk is printed.
  26.  
  27.      In single disk mode, _p_r_t_v_t_o_c prints information about the disk geometry
  28.      (number of cylinders, heads, and so on), followed by information about
  29.      the partitions.  For each partition, the type is indicated (for example,
  30.      filesystem, raw data, and so on).  Cylinders can be non-integral values,
  31.      as they may not correspond to actual physical values, for some drive
  32.      types.  For filesystem partitions, _p_r_t_v_t_o_c shows if there is actually a
  33.      filesystem on the partition, and if it is mounted, the mount point is
  34.      shown.  Mount points shown in square brackets indicate the mount point of
  35.      the logical volume the partition belongs to.
  36.  
  37.      The following options to _p_r_t_v_t_o_c can be used:
  38.  
  39.      ----ssss         Print only the partition table, with headings but without the
  40.                 comments.
  41.  
  42.      ----hhhh         Print only the partition table, without headings and comments.
  43.                 Use this option when the output of the _p_r_t_v_t_o_c command is
  44.                 piped into another command.
  45.  
  46.      ----tttt _f_s_t_a_b   Use the file _f_s_t_a_b instead of /_e_t_c/_f_s_t_a_b.
  47.  
  48.      The following options create summaries from all disk volume headers:
  49.  
  50.      ----aaaa         Show abbreviated partition listings for all disks attached to
  51.                 the system.
  52.  
  53.      ----mmmm         List all partitions in use by local filesystems.  The listing
  54.                 includes partitions that belong to logical volumes.
  55.  
  56.      ----eeee         Extended listing.  This combines the ----aaaa and ----mmmm options as well
  57.                 as reporting unallocated (free) partitions, and overlapping
  58.                 mounted partitions.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. pppprrrrttttvvvvttttoooocccc((((1111MMMM))))                                                        pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
  71.  
  72.  
  73.  
  74. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  75.      The output below is for a SCSI system (root) disk obtained by invoking
  76.      _p_r_t_v_t_o_c without parameters.  A change from earlier releases is that we no
  77.      longer treat disk drives as though they were of fixed geometry (most SCSI
  78.      disks no longer have fixed geometry), synthesizing a geometry that made
  79.      the capacity work.  Now they are simply treated as a stream of blocks, so
  80.      there is no longer any information about cylinders and other drive
  81.      geometry, just partition information.
  82.  
  83.           Printing label for root disk
  84.  
  85.           * /dev/root (bootfile "/unix")
  86.           *     512 bytes/sector
  87.           Partition  Type  Fs   Start: sec    Size: sec   Mount Directory
  88.            0          efs  yes        4608      4108800
  89.            1          raw          4113408        81408
  90.            8       volhdr                0         4608
  91.           10       volume                0      4194816
  92.  
  93.      This next output is for a SCSI option disk obtained by invoking _p_r_t_v_t_o_c
  94.      with drive dks0d2vh as the parameter.
  95.  
  96.           * /dev/rdsk/dks0d2vh (bootfile "/unix")
  97.           *     512 bytes/sector
  98.           Partition  Type  Fs   Start: sec    Size: sec   Mount Directory
  99.            7          xfs  yes        4560      8684310   /usr/people
  100.            8       volhdr                0         4560
  101.           10       volume                0      8688870
  102.  
  103.  
  104. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  105.      dvhtool(1M), fx(1M), dks(7M), vh(7M).
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.